//
// Created by z203 on 23-2-23.
//

#ifndef TTS_TEXT_TO_PHONE_H
#define TTS_TEXT_TO_PHONE_H

#endif //TTS_TEXT_TO_PHONE_H

#include <vector>
#include <map>
#include <string>

void text_to_phone(const char *text, std::vector<int> &phones_id, const std::map<wchar_t, int> &phone_id_map);

void load_phoneIdMap_v2(const char *phoneIdMap_filename, std::map<wchar_t, int> &phoneIdMap);

void load_phone_id_map(const char *phone_id_map_filename, std::map<std::string, int> &phone_id_map);